using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class CharacterMovement : MonoBehaviour
{
    private Rigidbody2D m_Rigidbody2D;

    public float m_MoveSpeed = 3f;

    private void Awake()
    {
        m_Rigidbody2D = GetComponent<Rigidbody2D>();
    }

    void Start()
    {
        
    }

    void Update()
    {
        m_Rigidbody2D.velocity = new Vector2(m_MoveSpeed * transform.localScale.x, m_Rigidbody2D.velocity.y);
    }
}
